package com.xlh.openai.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @author 1280251739@qq.com
 * @email sunlightcs@gmail.com
 * @date 2023-05-24 09:59:53
 */
@Data
@TableName("topics")
@ApiModel("TopicsEntity")
public class TopicsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO)
	@ApiModelProperty("")
	private Integer id;

	@ApiModelProperty("角色ID 0 表示 拥有现在所有的权限")
	private Integer roleId;

	@ApiModelProperty("话题标题")
	private String topicTitle;

	@ApiModelProperty("话题描述")
	private String topicDescription;

	@ApiModelProperty("话题描述")
	private String topicResponse;

	@ApiModelProperty("排序")
	private Integer sortNum;

	@ApiModelProperty("是否生效")
	private Integer valid;

	@ApiModelProperty("创建时间")
	private Date createdAt;

	@ApiModelProperty("更新时间")
	private Date updatedAt;

}
